﻿* {
    margin: 0px;
    padding: 0px;
}

ul li, a {
    list-style: none;
    text-decoration: none;
}

body {
    background: #F5F5F5;
}

.header {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #00CBFD;
}

    .header .header-logo {
        width: 50px;
        height: 50px;
        margin-left: 50px;
        margin-right: 50px;
    }

        .header .header-logo img {
            width: 100%;
            height: 100%;
        }

    .header .header-title h2 {
        float: left;
        font-weight: 400;
        color: #424242;
        margin-bottom: 0;
        font-size: 28px;
    }

    .header .header-title p {
        float: left;
        margin-left: 15px;
        margin-top: 15px;
        color: #757575;
    }

    .header .topbar-info a {
        text-decoration: none;
        color: #757575;
        margin-right: 20px;
    }

    .header .flex {
        flex: 1;
    }

.container {
    width: 100%;
    margin-top: 50px;
}

.content {
    width: 1500px;
    margin: 0px auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 2px;
    text-align: center;
}

    table tr {
        border-bottom: 1px solid #DEDEDE;
    }

    table .header-tr {
        height: 100px;
        line-height: 100px;
    }

    table .content-tr {
        height: 120px;
        line-height: 120px;
    }

        table .content-tr .goods {
            text-align: left;
            line-height: 120px;
            display: flex;
            flex-direction: row;
            align-items: center;
            width: 600px;
        }

            table .content-tr .goods .dic {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            table .content-tr .goods img {
                width: 100px;
                margin-right: 10px;
            }

.count-div {
    border: 1px solid #DEDEDE;
    width: 186px;
    height: 48px;
    line-height: 48px;
    margin: 0px auto;
}

    .count-div input {
        width: 90px;
        height: 30px;
        margin-right: 5px;
        margin-left: 5px;
        text-align: center;
        border: none;
    }

.foot {
    background-color: white;
    border-radius: 5px;
    display: flex;
    margin-top: 30px;
    align-items: center;
    color: dimgray;
    padding-left: 10px;
}

    .foot .foot-color {
        color: #00cbfd;
    }

    .foot .flex {
        flex: 1
    }

    .foot .foot-price {
        font-size: 30px
    }

    .foot .pay {
        background-color: #00cbfd;
        color: white;
        width: 252px;
        height: 60px;
        line-height: 60px;
        text-align: center;
        margin-left: 10px;
    }

        .foot .pay:hover, .foot a:hover {
            opacity: 0.8;
        }

    .foot a {
        text-decoration: none;
        color: dimgrey
    }

.content-list {
    width: 1500px;
    margin: 20px auto;
}

.recommend-title {
    position: relative;
    margin: 0;
    height: 50px;
    font-size: 30px;
    font-weight: 400;
    color: #757575;
    border-top: 1px solid #e0e0e0;
}

.content-list span {
    position: absolute;
    top: -20px;
    left: 502px;
    height: 40px;
    width: 482px;
    line-height: 40px;
    text-align: center;
    display: block;
    background-color: #f5f5f5;
}

ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

    ul li {
        width: 280px;
        height: 400px;
        margin-right: 10px;
        background-color: white;
        display: block;
        margin-bottom: 20px;
        position: relative;
        border-radius: 2px;
    }

        ul li:hover .fudong {
            display: block;
            transition: all 0.8s ease;
        }

        ul li a {
            display: block;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-content: center;
            justify-content: space-around;
            text-align: center;
        }

            ul li a .recommend-img {
                width: 200px;
                height: 200px;
                margin: 0px auto;
            }

            ul li a img {
                width: 100%;
                height: 100%;
            }

            ul li a .recommend-name {
                height: 18px;
                margin: 0px 15px;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
                color: #333;
            }

            ul li a .recommend-price {
                color: #00CBFD;
            }

            ul li a .recommend-tips {
                color: #757575;
            }

        ul li .fudong {
            display: block;
            width: 165px;
            height: 30px;
            border: 1px solid #00CBFD;
            color: #00CBFD;
            position: absolute;
            left: 55px;
            bottom: 40px;
            display: none;
            border-radius: 2px;
            line-height: 30px;
        }

            ul li .fudong:hover {
                background-color: #00CBFD;
                border: none;
                color: white;
                transition: all 0.3s ease;
            }
